package idiet.service;

import idiet.bean.Unit;
import idiet.dao.hibernate.FoodIngredientElementUnitDao;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("foodIngredientElementUnitService")
public class FoodIngredientElementUnitService {
	@Autowired
	private FoodIngredientElementUnitDao foodIngredientELementUnitDao;
	public void createFoodIngredientElementUnit(Unit unit){
		if(unit!=null)
			this.foodIngredientELementUnitDao.createFoodIngredientElementUnit(unit);
	}
}
